//2009/08/18 21:36:30
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class DancingSentence
{
public:
    string makeDancing(string sentence)
    {
		bool flag = true;
		for(int i=0; i<sentence.size(); i++)
		{
			if(isalpha(sentence[i]))
			{
				if(flag)
					sentence[i] = toupper(sentence[i]);
				else
					sentence[i] = tolower(sentence[i]);
				flag ^= true;
			}
		}
		return sentence;
    }
};
